Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 20 - QuickDraw 3D Mathematical Utilities / QuickDraw 3D Mathematical Utilities Reference
QuickDraw 3D Mathematical Utilities / Managing Bounding Spheres


Q3BoundingSphere_Union

You can use the Q3BoundingSphere_Union function to find the union of two bounding spheres.

TQ3BoundingSphere *Q3BoundingSphere_Union (
const TQ3BoundingSphere *s1, 
const TQ3BoundingSphere *s2, 
TQ3BoundingSphere *result);
s1
A pointer to a bounding sphere.
s2
A pointer to a bounding sphere.
result
On exit, a pointer to the union of the bounding spheres s1 and s2.
DESCRIPTION
The Q3BoundingSphere_Union function returns, as its function result and in the result parameter, a pointer to the bounding sphere that is the union of the two bounding spheres specified by the parameters s1 and s2. The result parameter can point to the memory occupied by either s1 or s2, thereby performing the union operation in place.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996